package com.example.smartcity_ikun3.logic.base

import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity

abstract class BaseActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        initEvent()
        initView()
        initData()
        getLayout()
    }

    abstract fun getLayout() : Int

    abstract fun initData()

    abstract fun initView()

    abstract fun initEvent()
}